package cn.dakaqi.services;

import cn.dakaqi.entities.SysTopicComment;
import cn.dakaqi.utils.exception.ServiceRuntimeException;
import org.springframework.data.domain.Page;

/**
 * Created by chunyang on 2016/4/24.
 */
public interface SysTopicCommentService
{
    void create(String param)throws ServiceRuntimeException;
    void save(SysTopicComment sysTopicComment)throws ServiceRuntimeException;
    Page<SysTopicComment> findBySysTopic(String code, int pageNumber)throws ServiceRuntimeException;
    SysTopicComment findLastComment(String memberCode, String code)throws ServiceRuntimeException;
}
